lib_LTLIBRARIES = libpocketj.la
libpocketj_la_CPPFLAGS = -Wall
libpocketj_la_LDFLAGS = `tcucodec conf -l`
libpocketj_la_SOURCES = libpocketj.hpp libpocketj.cpp libpocketj_plus.hpp

pkginclude_HEADERS = libpocketj.hpp

bin_PROGRAMS = pocketj pocketjtest pocketj.fcgi pocketj_plus
pocketj_CPPFLAGS = -Wall
pocketj_LDADD = libpocketj.la
pocketj_LDFLAGS = `tcucodec conf -l`
pocketj_SOURCES = pocketj.cpp

pocketj_fcgi_CPPFLAGS = -Wall
pocketj_fcgi_LDADD = libpocketj.la
pocketj_fcgi_LDFLAGS = `tcucodec conf -l` -lfcgi
pocketj_fcgi_SOURCES = pocketjfcgi.cpp

pocketj_plus_CPPFLAGS = -Wall
pocketj_plus_LDADD = libpocketj.la
pocketj_plus_LDFLAGS = `tcucodec conf -l`
pocketj_plus_SOURCES = pocketj_plus.cpp


pocketjtest_CPPFLAGS = -Wall
pocketjtest_LDADD = libpocketj.la
pocketjtest_LDFLAGS = `tcucodec conf -l` -lgtest
pocketjtest_SOURCES = pocketjtest.cpp

TESTS = pocketjtest